/* 
 * File:   interface.h
 * Author: nuno
 *
 * Created on 03 February 2012, 19:35
 */

#ifndef INTERFACE_H
#define	INTERFACE_H

#ifdef	__cplusplus
extern "C" {
#endif


#include "structures.h"

    USER * login(listNode * user_list);
    USER * check_login(listNode * user_list);
    int menuStudent(USER * user);
    int menuProf(listNode * list, USER * prof);
    int menuRegProf(listNode * list, USER * reg_prof);
    USER * add_new_user();
    void list_users(listNode * list, int flag_grades);

    void list_users_page(listNode * list, int step);
    void change_self_data(USER * user);
    void print_user(USER * user);
    void print_user_data(USER * user);
    void choice_evaluationType(USER * user);
    void consult_currentSituation(USER * user);
    void clear();
    void insert_notes();
    void stats(listNode * list);
#ifdef	__cplusplus
}
#endif

#endif	/* INTERFACE_H */

